/*
 * @Author: daidai
 * @Date: 2021-12-23 11:18:37
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2022-04-28 15:10:45
 * @FilePath: \web-pc\src\api\modules\index.js
 */
import * as API from "../request";
// export const paramType ={
//     'big1':"/bigscreen/countUserNum", //用户总览
//     'big2':"/bigscreen/countDeviceNum", //设备总览 
//     'big3':"/bigscreen/sbtx", //设备提醒
//     'big4':"/bigscreen/alarmNum", //报警次数
//     'big5':'/bigscreen/ssyj',//实时预警 
//     'big6':'/bigscreen/installationPlan',// 安装计划
//     'big7':'/bigscreen/ranking',// 报警排名
//     'big8':'/bigscreen/centermap',// //中间地图
// }
/**
 * 通用GET
 * @param {*} param 
 */
 export const currentGET=  (url,param)=> {
    return API.GET(url, param)
}
/**
 * 通用POST
 * @param {*} param 
 */
 export const currentPOST=  (url, param)=> {
    return API.POST(url, param)
}
// 通用接口集合
export const currentApi={
    currentPOST,
    currentGET
}